

import {axios,get,post} from "./request"

 

export const http = {
    adduser:(body)=>post("/api/user",body),   // 添加用户  http://localhost:2105/api/user  ==  http://localhost:2105/user

    finduser:params=>get("/api/user",params),  // 查询用户 

    findlist:params=>get("/api/list",params),  // 查询list 

    getmaizuo:(params,headers)=>get("/gateway",params,headers),  // 获取卖座数据的接口 

    captcha_sent:(params)=>get("/wangyi/captcha/sent",params),   // 发送验证码

    captcha_verify:(params)=>get("/wangyi/captcha/verify",params),   // 校验验证码
}